<%@page import="com.hospital.model.PatientInfo"%>
<%@page import="com.hospital.model.UserInfo"%>
<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link href="images/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div id="top">
		<div id="logo" style="font-size:20px; font-weight: bold;text-align: right;">
			<div style="margin-top: 22px;"><font color="#385A70" face="微软雅黑">重庆市 ● 医院管理系统&nbsp;</font></div>
		</div>
		<%String username = null;
		  if((UserInfo)session.getAttribute("userInfo")!=null){
			username=((UserInfo)session.getAttribute("userInfo")).getAccount();
		  }else{
			username=((PatientInfo)session.getAttribute("patientInfo")).getAccount();
		  } %>
		<div id="user">欢迎您：<FONT color=red>【<%=username%>】</FONT>&nbsp;&nbsp; 
		服务器IP:<FONT color=red>【<%=request.getServerName()%>】&nbsp;&nbsp;</FONT>JDK版本：<FONT color=red>【<%=System.getProperty("java.vm.version") %>】</FONT>&nbsp;&nbsp;
		服务器操作系统： <FONT color=red>【<%=System.getProperty("os.name")+" "+System.getProperty("os.version") %>】</FONT>
		</div>
	</div>
</body>
</html>